var ec_left1 = echarts.init(document.getElementById('r2'));
ec_left1_option = {
	title: {
	  text: '单价与销量',
	  subtext: '卖出 Data'
	},
	tooltip: {
	  trigger: 'axis',
	  axisPointer: {
		type: 'cross'
	  }
	},
	toolbox: {
	  show: true,
	  feature: {
		saveAsImage: {}
	  }
	},
	xAxis: {
	  type: 'category',
	  boundaryGap: false,
	  // prettier-ignore
	  data: ['25', '145', '578', '587', '50', '15', '30', '84', '10', '15', '12', '13', '16', '7', '17', '18', '20', '21', '22', '235']
	},
	yAxis: {
	  type: 'value',
	  axisLabel: {
		formatter: '{value} 本'
	  },
	  axisPointer: {
		snap: true
	  }
	},
	// dataZoom: [
	// 	{
		 
	// 	  start: 0,
	// 	  end: 060
	// 	},
	// 	{
	// 	  start: 0,
	// 	  end: 60
	// 	}
	//   ],
	series: [
	  {
		name: '卖出',
		type: 'line',
		smooth: true,
		// prettier-ignore
		data: [300, 280, 250, 260, 270, 300, 550, 500, 400, 390, 380, 390, 400, 500, 600, 750, 800, 700, 600, 400]
	   
	  }
	]
  };
ec_left1.setOption(ec_left1_option)